import { SensitiveWordType } from ".";

export interface ResponseListType<T = any> {
  countId: string | number | null;
  current: number;
  maxLimit: string | number | null;
  optimizeCountSql: boolean;
  orders: Array<string>;
  pages: number;
  records: Array<T>;
  searchCount: boolean;
  size: number;
  total: number;
}

interface RecordsType {
  kid?: number;
  orderBy?: string | number;
  pageNum?: number;
  pageSize?: number;
}

export interface WordListType extends RecordsType {
  kword: string;
  type: SensitiveWordType;
}
